<!-- 按钮下接框 -->
@if(!isset($fx) || $fx == 'down')
<div style="display: inline-block;" class="btn-sel" data-fx="{{$fx ?? "down"}}">
    <button class="btn btn-white btn-search-plus btn-select">{{$name ??''}}&nbsp;  <i class="fa fa-angle-down"></i></button>
    <div style="display: none;position: absolute; box-shadow: #777 0px 0px 2px 0px;;padding:0px 11px;background:#ffffff;min-width: 78px" class="select-con">
        @foreach ($items as $key=>$v)
        <div data-url="{{$v['url'] ?? ''}}" data-value="{{$v['data'] ?? ""}}" class=" @if($v['data'] === 'import')select-item-import @else select-item @endif" style="margin-top:4px;margin-bottom:4px;cursor: pointer;line-height: 20px">
            {{$v['name'] ?? ''}}
            @if($v['data'] === 'import')
                <input class="excel_upload" data-url="{{$v['url'] ?? ''}}" data-value="{{$v['data'] ?? ""}}"  style='opacity:0;left:0;width:80px;position:absolute;top:-2px;cursor:pointer;font-size: 0;height:20px;' type='file' accept="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,application/vnd.ms-excel">
            @endif
        </div>

            @endforeach
    </div>
</div>
@else
    <div style="display: inline-block;position:relative;left:30px" class="btn-sel" data-fx="{{$fx ?? "down"}}">
        <div style="display: none;position: absolute;bottom:43px; box-shadow: #777 0px 0px 2px 0px;;padding:0px 11px;background:#ffffff;min-width: 78px" class="select-con">
            @foreach ($items as $key=>$v)
                <div data-url="{{$v['url'] ?? ''}}" data-value="{{$v['data'] ?? ""}}" class=" @if($v['data'] === 'import')select-item-import @else select-item @endif" style="margin-top:4px;margin-bottom:4px;cursor: pointer;line-height: 20px">
                    {{$v['name'] ?? ''}}
                    @if($v['data'] === 'import')
                        <input class="excel_upload" data-url="{{$v['url'] ?? ''}}" data-value="{{$v['data'] ?? ""}}"  style='opacity:0;left:0;width:80px;position:absolute;top:-2px;cursor:pointer;font-size: 0;height:20px;' type='file' accept="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,application/vnd.ms-excel">
                    @endif
                </div>
            @endforeach
        </div>
        <button style="" class="btn btn-white btn-search-plus btn-select">{{$name ??''}}&nbsp;  <i class="fa fa-angle-up"></i></button>
    </div>
@endif
